<{include file="public/header.html"}> 
<div class="w1180-con" id="index-box" data-url="<{eval url('')}>">
			<!--banner-->
			<div class="banner">
				<div class="carousel banner-list">
					<div class="img-list">
                                            <{foreach from=$banners item=val key=key}>
                                            <a href="<{$val['banner_link']}>" target="_blank" <{if $key == 0}>style="display: block;"<{/if}>>
                                               <img src="<{$val['banner_img']}>"/>
                                            </a>
                                            <{/foreach}>
					</div>
					<ul class="btn-list">
                                            <{foreach from=$banners item=val key=key}>
                                            <li <{if $key == 0}>class="active"<{/if}>></li>
                                            <{/foreach}>
					</ul>
				</div>
			</div>
			<!--左侧推荐-->
			<div class="side-area fl mt20">
				<div class="correlation-img">
                        <a href="<{eval finance_url('mplat_yinduoziben')}>" target="_blank" class="overhide">
                            <img src="<{$style_dir}>/img/area/left-area-index.jpg"/>
					</a>
				</div>
				<div class="send mt20">
					<a href="<{eval url('post')}>" class="post" target="_blank">
						<b></b><p>发表文章</p>
					</a>
					<a href="<{eval url('wenda/asking')}>" class="problem ml10" target="_blank">
						<b></b><p>我要提问</p>
					</a>
					<div class="clear"></div>
				</div>
                                <{if $recommend_users}>
				<div class="start mt20">
					<p class="title-big">推荐作者</p>
					<ul class="overhide">
                                            <{foreach from=$recommend_users item=val}>
						<li>
							<div class="fl">
                                                            <a href="<{$val['space_url']}>" target='_blank' class="head">
                                                                <img src="<{$val['head_img']}>"/>
                                                            </a>
							</div>
							<div class="fl con">
								<div class="overhide">
									<a href="<{$val['space_url']}>" target='_blank' class="mb5 fl"><{$val['nickname']}></a>
									<a href="javascript:void(0);" title="个人认证" class="icon-index icon-approve icon-approve0 fl"></a>
								</div>
								<a href="<{$val['space_url']}>" target='_blank' class="txt"><{$val['signature']}></a>
							</div>
							<div class="clear"></div>
						</li>
                                            <{/foreach}>
					</ul>
				</div>
                                <{/if}>
				<!--小轮播图-->
                <div class="carousel plate-list mt20">
					<div class="img-list">
                                            <a href="<{eval finance_url('card')}>" target="_blank" style="display: block;">
							<img src="<{$style_dir}>/img/carousel/1.jpg"/>
                                            </a>
                                            <a href="<{eval finance_url('mquan')}>" target="_blank">
                                                    <img src="<{$style_dir}>/img/carousel/2.jpg"/>
                                            </a>
                                            <a href="<{eval finance_url('mfunds')}>" target="_blank">
                                                    <img src="<{$style_dir}>/img/carousel/3.jpg"/>
                                            </a>
					</div>
					<ul class="btn-list">
						<li class="active"></li>
						<li></li>
						<li></li>
					</ul>
				</div>
                                <{if $wendas}>
                                <div class="wendalist mt30">
                                    <p class="title-big">溜溜问答</p>
                                    <ul>
                                        <{foreach from=$wendas item=val}>
                                        <li><a href="<{$val['detail_url']}>" class=""><{$val['title']}></a><span class="fr"><i class="icon-index"></i><{$val['num']}></span></li>
                                        <{/foreach}>
                                    </ul>
				</div>
                                <{/if}>
                                <{if $reports}>
                <div class="mt30">
                		<a href="<{eval url('wenda/24353')}>" target="_blank">
                			<img src="<{$style_dir}>/img/area/left-area4.jpg"/>
                		</a>
                </div>
				<!--公告-->
				<div class="bulletin mt30">
					<p class="title-big">大院公告</p>
					<ul>
                                            <{foreach from=$reports item=val}>
                                            <li><b></b><span><i></i><{$val['create_time']}></span><a href="<{$val['detail_url']}>" target="_blank"><{$val['title']}></a></li>
                                            <{/foreach}>
					</ul>
				</div>
                                <{/if}>
                <script type="text/javascript">
	                $(function(){
		                	$('.side-area .bulletin ul li').mouseenter(function(){
		                			$(this).children('span').stop(true).fadeIn();
		                		});
	                		$('.side-area .bulletin ul li').mouseleave(function(){
	                			$(this).children('span').stop(true).fadeOut();
	                		});
	                });
                </script>
                
                <div class="mt30">
                    <a href="<{eval url('charity')}>" target='_blank'>
                			<img src="<{$style_dir}>/img/area/left-area5.jpg"/>
                		</a>
                </div>
				<div class="correlation-img mt30">
                                    <a href="javascript:void(0);"  target="_blank" class="overhide" style="height: auto;">
						<!--<span class="textnum25 p10">一百块，这么花才最值……</span>-->
						<img src="<{$style_dir}>/img/area/left-area3.jpg"/>
					</a>
				</div>
			</div>
			<!--右侧内容-->
			<div class="home fr mt20 w860">
				<!--宣传图-->
				<div class="propaganda">
					<a href="<{eval finance_url('mplat/lists')}>" target="_blank">
						<img src="<{$style_dir}>/img/propaganda.jpg"/>
					</a>
				</div>
				<!--一元夺宝-->
				<div class="oneBuy mt20">
                                    <a href="<{eval finance_url('mplat')}>" class="title-big" target="_blank">弹一弹</a>
					<div class="con" style="height: 180px;overflow: hidden;">
                                            <a href="<{eval finance_url('mplat/lists')}>" target="_blank"><img src="<{$style_dir}>/img/duobao/oneBuy.jpg"/></a>
					</div>
				</div>
                <div class="home-tiplist">
					<div class="left"></div>
					<div class="right"></div>
					<div id="scroll" class="scroller">
						<div id="scroll-box" class="scroller-b">
							<div id="scroll-w">
								<ul>
                                                                    <{foreach from=$sys_notices item=val}>
									<li><{$val['content']}></li>
                                                                    <{/foreach}>
								</ul>
							</div>
							<div id="scroll-t"></div>
						</div>
					</div>
				</div>
                                <script type="text/javascript">
					var scroll = document.getElementById("scroll");
					var scroll_w = document.getElementById("scroll-w");
					var scroller_t = document.getElementById("scroll-t");
					scroller_t.innerHTML=document.getElementById("scroll-w").innerHTML;
					function Marquee(){
						if(scroll.scrollLeft-scroller_t.offsetWidth>=0){
							scroll.scrollLeft-=scroll_w.offsetWidth;
						}
						else{
							scroll.scrollLeft++;
						}
					}
					var myvar=setInterval(Marquee,30);
					scroll.onmouseout=function(){myvar=setInterval(Marquee,30);}
					scroll.onmouseover=function(){clearInterval(myvar);}

				</script>
				<!--文章-->
				<div class="article mt20 article-container-box">
					<div class="article-tab">
						<ul>
							<li class="on" data-type="hot">热门</li>
							<li data-type="latest">最近</li>
                                                        
							<{foreach from=$cates key=key item=val}>
                                                        <li data-type="<{$val['id']}>"><{$val['name']}></li>
                                                        <{/foreach}>
						</ul>
						<div class="article-search fr overhide mt10">
                            <input type="text" name="seach_keyword" id="seach_input" value="" placeholder="搜索文章" class="box fl"/>
							<input type="submit" id="seach_input_btn" value="" class="btn fr" />
						</div>
						<script type="text/javascript">
							$(function(){
								$('.article .article-search').on('click',function(e){
									$(this).animate({'width':'340px'}).children('.box').css('width','340px');
									e.stopPropagation();
								});
								$('.article .article-search').on('click',function(e){
									e.stopPropagation();
								});
								$(document.body).click(function(){
								    $('.article .article-search').animate({'width':'133px'}).children('.box').css('width','133px');
								});							
							})
						</script>
					</div>
					<div class="article-list mt10">
                                            <div class="label-list-alone overhide mb10">
                                                <{if $tag_flag}>
                                                    <a href="javascript:void(0);"><{$tag_name}> × </a>
                                                <{/if}>
                                            </div>
                                            <ul class="article-list-box">
                                                <{foreach from=$list item=val}>
                                                    <li class='article-con'>
                                                        <a href="<{$val['detail_url']}>" target='_blank' class='img fl'><img class="lazy" data-original="<{$val['thumb']}>" /></a>
                                                        <div class='con fr'>
                                                            <a href="<{$val['detail_url']}>" target='_blank' class='title'><{$val['title']}></a>
                                                            <a href="<{$val['detail_url']}>" target='_blank' class='txt textnum110'><{$val['summary']}></a>
                                                            <div class='label mt10'>
                                                                <div class='label-list'><{$val['tag_str']}></div>
                                                                <div class='clear'></div>
                                                            </div>
                                                            <div class='user mt15'>
                                                                    <b class='icon-index section fl mr5'></b>
                                                                <a href="<{$val['cat_url']}>" class='fl cat'><{$val['cat_name']}></a>
                                                                <a href="<{$val['space_url']}>" class='name fl ml15'>by：<{$val['nickname']}></a>
                                                                <b class='icon-index eye fl ml15'></b>
                                                                <span class='num fl ml5'><{$val['readnum']}></span>
                                                                <b class='icon-index message fl ml15'></b>
                                                                <span class='num fl ml5'><{$val['commentnum']}></span>
                                                                <a href='javascript:void(0);' class='zan fr'><span><{$val['likes']}></span><b class='icon-index fr like-btn' data-aid="<{$val['article_id']}>" data-auid="<{$val['auid_id']}>" data-value="<{$val['is_like']}>"></b></a>
                                                                <div class='clear'></div>
                                                            </div>
                                                        </div>
                                                        <div class='clear'></div>
                                                    </li>
                                                <{/foreach}>
                                            </ul>
                                            <script type="text/javascript">
                                                $("img.lazy").lazyload({
                                                        effect : "fadeIn",
                                                        placeholder : "http://static.tan66.com/upfiles/df.jpg"
                                                    });
                                            </script>
                                            <!---->
                                            <div class="pages">
                                            	
                                                <div class="fr" id="article_index_pagination">
                                                </div>
                                                <!--<span class="pg-count">共0页/0条</span>-->
                                                <img src="<{$style_dir}>/img/gif/pages-load.gif" class="pages-load fr mr15 pt5 hide" style="width: 24px;"/>
                                                <div class="clear"></div>
                                            </div>
					</div>
                                    
				</div>
                                <script type="text/javascript">
                                    var t="<{$type}>",v="<{$value}>";
                                    $(function(){
                                        if(t != "0"){
                                            load_index_type_page();
                                        }else{
                                            createIndexPaginationModel({containerId:"article_index_pagination",perNum:12,currIndex:0,totalCount:"<{$totalCount}>"},load_index_page);
                                        }
                                    })
                                </script>
			</div>
			<div class="clear"></div>
<!--                        <a href="<{eval finance_url('mquan')}>" target="_blank" class="footer-avd mt20">
				<img src="<{$style_dir}>/img/footer-adv.jpg"/>
			</a>-->
		</div>
<script type="text/javascript" src="<{$style_dir}>/js/favorite.widget.js"></script>
<{include file="public/footer.html"}> 

